<?php
/**
 * @Author:      ZH
 * @DateTime:    2015-2-16 16:52:00
 * @Description: 用于 pms 提示信息
 */
return array(
	'args_error_100000'=>array("code" => 100000, "msg" => "参数不全"),
    'login_args_error_210001' => array("code" => 210001, "msg" => "参数不全，用户名 or 密码。"),
    'login_user_status_error_210002' => array("code" => 210002, "msg" => "用户状态冻结"),
    'login_name_pwd_error_210003' => array("code" => 210003, "msg" => "用户名密码错误"),
    'login_create_token_error_210004' => array("code" => 210004, "msg" => "创建token失败"),
    'login_token_error_210005' => array("code" => 210005, "msg" => "token 必须填"),
    'user_token_not_exist_210006' => array("code" => 210006, "msg" => "token 不存在"),
    'user_token_clean_error_210007' => array("code" => 210007, "msg" => "清除token异常"),
    'user_not_exist_210009' => array("code" => 210009, "msg" => "用户不存在"),
    'user_frozen_error_210011' => array("code" => 210011, "msg" => "用户被冻结"),
    'user_deletet_error_210010' => array("code" => 210010, "msg" => "用户已经被删除"),
    'user_unknown_error_210012' => array("code" => 210012, "msg" => "用户状态异常"),

    'supplier_not_exit_error_30001' => array("code" => 30001, "msg" => "供应商不存在"),
    'supplier_update_error_30002' => array("code" => 30002, "msg" => "供应商保存失败"),
    'supplier_not_exit_error_30003' => array("code" => 30003, "msg" => "车型不存在"),
    'supplier_not_exit_error_30004' => array("code" => 30004, "msg" => "品牌不存在"),
    'supplier_not_exit_error_30005' => array("code" => 30005, "msg" => "商品不存在"),
    'supplier_img_error_30006' => array("code" => 30006, "msg" => "不支持的图片格式"),
    'supplier_account_error_30007' => array("code" => 30007, "msg" => "不存在账套关系"),
    'supplier_book_error_30008' => array("code" => 30008, "msg" => "无效的账套编码"),
    'supplier_price_error_30009' => array("code" => 30009, "msg" => "商品信息不能为空"),
    'supplier_file_error_30010' => array("code" => 30010, "msg" => "附件上传失败"),
    'supplier_file_not_exit_error_30011' => array("code" => 30011, "msg" => "供应商附件不存在"),
    'supplier_contract_add_error_30012' => array("code" => 30012, "msg" => "供应商添加合同失败"),
    'supplier_contract_error_30013' => array("code" => 30013, "msg" => "供应商合同信息错误"),
    'supplier_info_error_30014' => array("code" => 30014, "msg" => "供应商物流运费按区域设置删除失败"),
    'supplier_info_error_30015' => array("code" => 30015, "msg" => "供应商物流运费按区域设置添加失败"),
    'supplier_info_error_30016' => array("code" => 30016, "msg" => "供应商物流运费按门店设置删除失败"),
    'supplier_info_error_30017' => array("code" => 30017, "msg" => "供应商物流运费按门店设置添加失败"),
    'supplier_info_error_30018' => array("code" => 30018, "msg" => "供应商结算方式按区域设置删除失败"),
    'supplier_info_error_30019' => array("code" => 30019, "msg" => "供应商结算方式按区域设置添加失败"),
    'supplier_info_error_30020' => array("code" => 30020, "msg" => "供应商结算方式按门店设置删除失败"),
    'supplier_info_error_30021' => array("code" => 30021, "msg" => "供应商结算方式按门店设置添加失败"),
    'supplier_info_error_30022' => array("code" => 30022, "msg" => "供应商结算方式扩展信息参数格式错误"),
    'supplier_info_error_30023' => array("code" => 30023, "msg" => "供应商结算方式扩展信息参数错误"),
    'supplier_info_error_30024' => array("code" => 30024, "msg" => "供应商物流运费扩展信息参数格式错误"),
    'supplier_info_error_30025' => array("code" => 30025, "msg" => "供应商物流运费扩展信息参数错误"),
    'supplier_price_error_31001' => array("code" => 31001, "msg" => "商品信息应为json"),
    'supplier_price_error_31002' => array("code" => 31002, "msg" => "商品信息有误"),
    
    'pms_order_error_40000' => array("code" => 40000, "msg" => "门店状态未开启"),
    'pms_order_create_error_40001' => array("code" => 40001, "msg" => "采购单创建失败"),
    'pms_order_flow_error_40002' => array("code" => 40002, "msg" => "采购单流转记录创建失败"),
    'pms_order_error_40003' => array("code" => 40003, "msg" => "采购单不存在"),
    'pms_order_status_error_40004' => array("code" => 40004, "msg" => "采购单状态不正确"),
    "pms_order_product_error_40005" => array("code" => 40005, "msg" => "修改采购商品信息失败"),
    "pms_order_error_40006" => array("code" => 40006, "msg" => "修改采购单数量失败"),
    "pms_order_source_error_40007" => array("code" => 40007, "msg" => "采购单创建来源错误"),
    "pms_order_error_40008" => array("code" => 40008, "msg" => "采购单保存失败"),
    "pms_plan_order_products_error_40009" => array("code" => 40009, "msg" => "采购项保存失败"),
    "pms_plan_order_product_error_40010" => array("code" => 40010, "msg" => "采购项已生成订货单，不允许取消"),
    "pms_order_product_error_40011" => array("code" => 40011, "msg" => "采购单商品不存在"),
    "pms_plan_order_product_error_40012" => array("code" => 40012, "msg" => "采购项不存在"),
    "pms_plan_order_products_error_40013"=> array("code" => 40013, "msg" => "采购项拆分失败"),
    "pms_plan_order_products_error_40014"=> array("code" => 40014, "msg" => "采购项拆分数量不符合要求"),
    "pms_plan_order_products_error_40015"=> array("code" => 40015, "msg" => "采购项状态不正确"),
    "pms_plan_order_product_error_40016" => array("code" => 40016, "msg" => "采购项保存失败"),
    "pms_plan_order_error_40017" => array("code" => 40017, "msg" => "订货单保存失败"),
    "pms_plan_order_status_error_40018" => array("code" => 40018, "msg" => "订货单状态不正确"),
    "pms_plan_order_error_40019" => array("code" => 40019, "msg" => "订货单删除失败"),
    "pms_receive_products_error_40020" => array("code" => 40020, "msg" => "收货单商品保存失败"),
    "pms_receive_order_error_40021" => array("code" => 40021, "msg" => "收货单保存失败"),
    "pms_plan_order_error_40022" => array("code" => 40022, "msg" => "订货单不存在"),
    "pms_plan_order_error_40023" => array("code" => 40023, "msg" => "订货单中采购项不能为空"),
    "pms_plan_order_error_40024" => array("code" => 40024, "msg" => "订货单地址不能为空"),
    "pms_order_type_error_40025" => array("code" => 40024, "msg" => "采购单类型不正确"),
    
    'purchase_receive_order_notexit_40025' => array("code" => 40025, "msg" => "收货单不存在"),
    'purchase_receive_order_status_40026' => array("code" => 40026, "msg" => "收货单状态错误"),
    'purchase_receive_order_product_notexit_40027' => array("code" => 40027, "msg" => "收货单详情不存在"),
    
    "pms_plan_order_error_40028" => array("code" => 40028, "msg" => "订货单商品有误"),
    "pms_supplier_error_40029" => array("code" => 40029, "msg" => "erp 已经存在相同的公司名称，创建失败"),
    "pms_supplier_error_40030" => array("code" => 40030, "msg" => "erp 已经存在相同的营业执照编码，创建失败"),
    "pms_supplier_error_40031" => array("code" => 40031, "msg" => "已经存在相同的公司名称，创建失败"),
    "pms_supplier_error_40032" => array("code" => 40032, "msg" => "公司不存在,请先创建公司期初信息"),
    "pms_supplier_error_40033" => array("code" => 40033, "msg" => "已经存在相同的统一社会信用代码，创建失败"),
    "pms_supplier_error_40034" => array("code" => 40034, "msg" => "ERP已经存在相同的统一社会信用代码，创建失败"),
    "pms_supplier_error_40035" => array("code" => 40035, "msg" => "此联系人不存在"),
);
